package com.hbl.huangbaolian1506101164.Activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.hbl.huangbaolian1506101164.R;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;

public class TravelActivity extends AppCompatActivity {

    @InjectView(R.id.back)
    TextView back;
    @InjectView(R.id.activity_travel)
    LinearLayout activityTravel;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_travel);
        ButterKnife.inject(this);
    }

    @OnClick({R.id.back, R.id.activity_travel})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.back:
                finish();
                break;
            case R.id.activity_travel:
                break;
        }
    }
}
